Controlling the Search in Bottom - Up
نویسندگان
چکیده
Bottom-up evaluation of queries on deductive databases has many advantages over an evaluation scheme such as Prolog. It is sound and complete with respect to the declarative semantics of least Herbrand models for positive Horn clause programs. In particular, it is able to avoid innnite loops by detecting repeated (possibly cyclic) subgoals. Further, in many database applications , it is more eecient than Prolog due to its set-orientedness. However , the completely set-oriented, breadth-rst search strategy of bottom-up evaluation has certain disadvantages. For example, to evaluate several classes of programs with negation (or aggregation), it is necessary to order the inferences; in essence, we must evaluate all answers to a negative sub-goal before making an inference that depends upon the negative subgoal. A completely breadth-rst search strategy ((14]) would have to maintain a lot of redundant subgoal dependency information to achieve this. We present a technique to order the use of generated subgoals, that is a hybrid between pure breadth-rst and pure depth-rst search. The technique , called Ordered Search, is able to maintain subgoal dependency information eeciently, while being able to detect repeated subgoals, and avoid innnite loops. Also, the technique avoids repeated computation and is complete for DATALOG. We demonstrate the power of Ordered Search through two applications. First, we show that it can be used to evaluate programs with left-to-right modularly stratiied negation and aggregation more ee-ciently than with any previously known bottom-up technique. Second, we illustrate its use for optimizing single-answer queries for linear programs.
منابع مشابه
Event-Related Potentials of Bottom-Up and Top-Down Processing of Emotional Faces
Introduction: Emotional stimulus is processed automatically in a bottom-up way or can be processed voluntarily in a top-down way. Imaging studies have indicated that bottom-up and top-down processing are mediated through different neural systems. However, temporal differentiation of top-down versus bottom-up processing of facial emotional expressions has remained to be clarified. The present st...
متن کاملControlling Bottom-Up Chart Parsers through Text Chunking
In this paper we propose to use text chunking for controlling a bottom-up parser. As it is well known, during analysis such parsers produce many constituents not contributing to the nal solution(s). Most of these constituents are introduced due to the parser inability of checking the input context around them. Preliminary text chunking allows to focus directly on the constituents that seem more...
متن کاملVisual search and selective attention
Visual search is a key paradigm in attention research that has proved to be a test bed for competing theories of selective attention. The starting point for most current theories of visual search has been Treisman’s ‘‘feature integration theory’’ of visual attention (e.g., Treisman & Gelade, 1980). A number of key issues that have been raised in attempts to test this theory are still pertinent ...
متن کاملA Comparative Study of Effect of Bottom-up and Top-down Instructional Approaches on EFL Learners’ Vocabulary Recall and Retention
This quasi-experimental study investigated the effect of bottom-up and top-down instructional approaches on English as a foreign language (EFL) vocabulary recall and retention. To this end, 44 high school students from two intact classes were assigned to bottom-up (n = 21) and top-down (n = 23) groups. The participants were exposed to 20 hours of explicit vocabulary instruction during 10 weeks ...
متن کاملBottom-up guidance in visual search for conjunctions.
Understanding the relative role of top-down and bottom-up guidance is crucial for models of visual search. Previous studies have addressed the role of top-down and bottom-up processes in search for a conjunction of features but with inconsistent results. Here, the author used an attentional capture method to address the role of top-down and bottom-up processes in conjunction search. The role of...
متن کامل